﻿#ifndef MCUCODEC_H
#define MCUCODEC_H

#include <qobject.h>
#include <qlist.h>

class MCUCodec : public QObject
{
  Q_OBJECT
public:
  enum MCUCtrlType
  {
    SetInterval_MEMSData=0,
    SetInterval_TurnTableState,
    Size_MCUCtrlType
  };
private://property
  QList<bool> transmitList;
public:
  explicit MCUCodec();
  virtual ~MCUCodec();
signals:
public:
  uchar getType(QByteArray data);
  bool needTransmit(uchar type);
};

#endif // MCUCODEC_H
